package com.lyf.boot;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.metrics.buffering.BufferingApplicationStartup;

/**
 * @author Luyufan
 * @date 2023/7/5 15:32
 */
@SpringBootApplication
@Slf4j
public class WebsocketApplication {

    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(WebsocketApplication.class);
        application.setApplicationStartup(new BufferingApplicationStartup(2048));
        application.run(args);
        log.debug("(♥◠‿◠)ﾉﾞ  启动成功   ლ(´ڡ`ლ)ﾞ");
    }
}